package com.jiefeng.manage.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.HashMap;
import java.util.Map;


/**
 * Created by yusong on 16-1-5.
 * 说明：测试web接收类
 */
@Controller
public class TestCtrl {


    @RequestMapping("/hello")
    @ResponseBody
    public Map<String,String> toStateAll() {
        Map<String,String> res = new HashMap<String, String>();
        //bannerMapper.getVedioBanner();
        res.put("hello","world");
        return res;
    }




}
